#include <gtk/gtk.h>
#define GTK_COMPILATION
+#include <gsk/gl/gskglrenderer.h>
+
+#ifdef GDK_WINDOWING_BROADWAY
+#include <gsk/broadway/gskbroadwayrenderer.h>
+#endif
+
+#ifdef GDK_RENDERING_VULKAN
+#include <gsk/vulkan/gskvulkanrenderer.h>
+#endif
+
#ifdef GDK_WINDOWING_X11
#include <gdk/x11/gdkx.h>
#endif
depends: [ gdkenum_h, gskenum_h, ],
output: 'gtktypefuncs.inc',
input: gdk_headers +
+ gsk_public_headers +
gtk_public_headers +
gtk_deprecated_headers +
[ gtktypebuiltins_h, ] +
NULL);
g_object_unref (list_store);
}
+ else if (g_type_is_a (type, GSK_TYPE_GL_SHADER))
+ {
+ GBytes *bytes = g_bytes_new_static ("", 0);
+ instance = g_object_new (type, "source", bytes, NULL);
+ g_bytes_unref (bytes);
+ }
else if (g_type_is_a (type, GDK_TYPE_CLIPBOARD) ||
g_str_equal (g_type_name (type), "GdkX11Cursor"))
instance = g_object_new (type, "display", display, NULL);
strcmp (pspec->name, "storable-formats") == 0)
continue;
+ /* set in the constructor */
+ if (g_type_is_a (type, GSK_TYPE_GL_SHADER) &&
+ strcmp (pspec->name, "source") == 0)
+ continue;
+
/* This one has a special-purpose default value */
if (g_type_is_a (type, GTK_TYPE_DIALOG) &&
(strcmp (pspec->name, "use-header-bar") == 0))
NULL);
gdk_content_formats_unref (formats);
}
+ else if (g_type_is_a (type, GSK_TYPE_GL_SHADER))
+ {
+ GBytes *bytes = g_bytes_new_static ("", 0);
+ instance = g_object_new (type, "source", bytes, NULL);
+ g_bytes_unref (bytes);
+ }
else if (g_type_is_a (type, GTK_TYPE_FILTER_LIST_MODEL) ||
g_type_is_a (type, GTK_TYPE_NO_SELECTION) ||
g_type_is_a (type, GTK_TYPE_SINGLE_SELECTION) ||
NULL);
gdk_content_formats_unref (formats);
}
+ else if (g_type_is_a (test_type, GSK_TYPE_GL_SHADER))
+ {
+ GBytes *bytes = g_bytes_new_static ("", 0);
+ object = g_object_new (test_type, "source", bytes, NULL);
+ g_bytes_unref (bytes);
+ }
else if (g_type_is_a (test_type, GTK_TYPE_FILTER_LIST_MODEL) ||
g_type_is_a (test_type, GTK_TYPE_NO_SELECTION) ||
g_type_is_a (test_type, GTK_TYPE_SINGLE_SELECTION) ||